using System;
using System.Collections.Generic;
using System.Text;
using Objects;
using DAL;
namespace BAL
{
   public class BALKhachHang
    {
       BALKhachHang _dal;
        public BALKhachHang()
        {
            _dal = new BALKhachHang();
        }

       public static List<KhachHang> GetAllItem()
       {
           DALKhachHang _dal = new DALKhachHang();
           return _dal.GetAllItem();
       }

       public static KhachHang GetMaxId()
       {
           DALKhachHang _dal = new DALKhachHang();
           return _dal.GetMaxId();
       }

       public static KhachHang GetById(int IdKhachHang)
       {
           DALKhachHang _dal = new DALKhachHang();
           return _dal.GetById(IdKhachHang);
       }

       public static int Insert(KhachHang Item)
       {
           DALKhachHang _dal = new DALKhachHang();
           return _dal.Insert(Item);
       }

       public static int Update(KhachHang Item)
       {
           DALKhachHang _dal = new DALKhachHang();
           return _dal.Update(Item);
       }

       public static int Delete(KhachHang Item)
       {
           DALKhachHang _dal = new DALKhachHang();
           return _dal.Delete(Item);
       }

    }
}
